Adwaita: fix reorderable tab label color once again
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 8 Jul 2014 08:17:02 +0000 (10:17 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 8 Jul 2014 08:17:31 +0000 (10:17 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index ae5435d6925e3e757a114231c4592b0b977f5f11..19fc3d7e1747fc66695b36c977c85ee1d41b39e8 100644 (file)
@@ -1166,16 +1166,16 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
     GtkLabel { //tab text
       padding: 0 2px; // needed for a nicer focus ring
       font-weight: bold;
-      color: $insensitive_fg_color; /* color: inherit doesn't work here */
+      color: $insensitive_fg_color;
       &:backdrop, &.prelight-page:backdrop {
         color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
       }
     }
-    &.prelight-page GtkLabel, GtkLabel.prelight-page {
+    .prelight-page GtkLabel, GtkLabel.prelight-page {
       // prelight tab text
       color: mix($fg_color, $insensitive_fg_color, 50%);
     }
-    &.active-page GtkLabel, GtkLabel.active-page {
+    .active-page GtkLabel, GtkLabel.active-page {
       // active tab text
       color: $fg_color;
       &:backdrop { color: $backdrop_fg_color; }
index 51665b396d54e0b36b68add9b414f053969c9ce7..be41944ae6c9d7f7866f0c6d16a733ed87c48327 100644 (file)
@@ -1334,15 +1334,14 @@ GtkTreeView.view.progressbar {
     .notebook tab GtkLabel {
       padding: 0 2px;
       font-weight: bold;
-      color: #939695;
-      /* color: inherit doesn't work here */ }
+      color: #939695; }
       .notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
         color: #878b8a; }
-    .notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
+    .notebook tab .prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
       color: #c0c2c0; }
-    .notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
+    .notebook tab .active-page GtkLabel, .notebook tab GtkLabel.active-page {
       color: #eeeeec; }
-      .notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
+      .notebook tab .active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
         color: #c9cbc9; }
     .notebook tab .button {
       border: 1px solid transparent;
index ff0af2c57c5e78ae56dad85295133fc35bec7f5c..46e6cd3dc57add0d1be7db751fae9f9654495531 100644 (file)
@@ -1327,15 +1327,14 @@ GtkTreeView.view.progressbar {
     .notebook tab GtkLabel {
       padding: 0 2px;
       font-weight: bold;
-      color: #8d9091;
-      /* color: inherit doesn't work here */ }
+      color: #8d9091; }
       .notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
         color: #8d9090; }
-    .notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
+    .notebook tab .prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
       color: #5d6263; }
-    .notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
+    .notebook tab .active-page GtkLabel, .notebook tab GtkLabel.active-page {
       color: #2e3436; }
-      .notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
+      .notebook tab .active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
         color: #54595a; }
     .notebook tab .button {
       border: 1px solid transparent;